//
//  AccountRoute.swift
//  CosClub_Basis
//
//  Created by iOS on 2020/5/21.
//  Copyright © 2020 iOS. All rights reserved.
//

import Foundation

public enum AccountRoute{
    case login
    case accountCenter
}

extension AccountRoute :RoutePath {
    
    public func regist() -> String {
        switch self {
        case .login:
            return "Account//Login"
        case .accountCenter:
            return "Account//Center"
        }
    }
    
    public func push() -> String {
        switch self {
        case .login:
            return "Account//Login"
        case .accountCenter:
            return "Account//Center"
        }
    }
}
